import { http } from "@/utils/http";
import { BaseResponse } from "@/model/BaseResponse";

/** 获取邮箱验证码 */
export const GetMailCode = async (targetEmail: string) => {
  return await http.post<string, BaseResponse<string>>("/common/getMailCode", {
    data: targetEmail
  });
};
